import {GET,POST,UPLOAD} from '@/api/request'

export default {
    CartAdd(data = {})
    {
        return POST({
            url:'/order/cart/add',
            params:data
        })
    },
    Pronum()
    {
        return GET({
            url:'/order/cart/pronum',
        })
    },
    CartIndex(data = {})
    {
        return POST({
            url:'/order/cart/index',
            params:data
        })
    },
    CartNumUpdate(data = {})
    {
        return POST({
            url:'/order/cart/num',
            params:data
        })
    },
    CartDel(data = {})
    {
        return POST({
            url:'/order/cart/del',
            params:data
        })
    },
    CartConfirmData(data = {})
    {
        return POST({
            url:'/order/cart/confirm',
            params:data
        })
    },
}